package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.model.domain.DmcRfidEvent;
import com.csun.cmny.provider.model.dto.rfid.RfidEventPageQuery;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DmcRfidEventMapper extends Mapper<DmcRfidEvent> {

    /**
     * query dmc rfid event list with page
     *
     * @param rfidEventPageQuery    rfid event page query
     *
     * @return  the list
     */
    List<DmcRfidEvent> queryDmcRfidEventListWithPage(RfidEventPageQuery rfidEventPageQuery);

    /**
     * select one times rfid event by label no
     *
     * @param labelNo the label no
     *
     * @return the dmc rfid event
     */
    DmcRfidEvent selectOneByLabelNo(String labelNo);

    /*
     *出入记录查询
     * */
    List<DmcRfidEvent> queryDmcRfidEventListWithPageByRoleName(RfidEventPageQuery rfidEventPageQuery);
}

